]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Fix artifacts path for tests job
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 31 Oct 2025 04:25:04 +0000 (05:25 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 31 Oct 2025 17:50:53 +0000 (17:50 +0000)
We (I) changed the test job to use a different path in commit 342d7ab34,
but the artifacts path was not adjusted :(

Fixes: 342d7ab34a ("ci: Start with a fresh build dir to ensure test dependencies are correct")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3945>

.gitlab-ci.yml

index a77add8ee83f9627f1687a7060809a902a35042d..721429970d0d2d31fa234f1e9395b694ea527633 100644 (file)
@@ -193,20 +193,21 @@ test:
   variables:
     XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
     NO_AT_BRIDGE: "1"
+    BUILD_DIR: "build-tests"
   before_script:
     - sudo meson install -C mutter/build
     - mkdir -m 700 $XDG_RUNTIME_DIR
     - mkdir -m 1777 /tmp/.X11-unix
   script:
     # Start with a fresh build dir to ensure test dependencies are correct
-    - meson setup build-test -Dman=false -Dgtk_doc=false
-    - dbus-run-session -- meson test -C build-test --timeout-multiplier 5
+    - meson setup "$BUILD_DIR" -Dman=false -Dgtk_doc=false
+    - dbus-run-session -- meson test -C "$BUILD_DIR" --timeout-multiplier 5
   artifacts:
     expire_in: 1 day
     paths:
-      - build/meson-logs/testlog.txt
+      - "$BUILD_DIR/meson-logs/testlog.txt"
     reports:
-      junit: build/meson-logs/testlog.junit.xml
+      junit: "$BUILD_DIR/meson-logs/testlog.junit.xml"
     when: on_failure
 
 test-coverity: